<?php
/**
 * @annotate 企业设置类
 * @group   Admin/Company
 * @author   yachtxiao <fuck@fackyou.org>
 */
class DownloadAction extends BaseAction {
	protected $aVerify = array(
   	'down_resume_list',
   	'del_down_resume',
  	);//需要验证的方法
	public function down_resume_list(){
		$cid = $_SESSION['company']['cid'];
		$da  = D('Company_resume')->select_resume($cid);
		$this->assign('list',$da);
		$this->display();
	}
	public function del_down_resume(){
		$da['down_id'] = getRequest('id');
		$map['is_del'] = 1;
		$ba = D('company_resume')->where($da)->save($map);
		if($ba){
			$this->ajaxReturn('','success',1);
		}else{
			$this->ajaxReturn('','error',0);
		}
	}
}
?>